package cn.pzaily.fealetter.entity;

import cn.pzaily.fealetter.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @PackageName: cn.pzaily.fealatter.entity
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-18 11:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode
@ApiModel(description = "配置表")
@TableName("config")
public class ConfigEntity extends BaseEntity {

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty(value = "域名")
    private String domain;

    @ApiModelProperty(value = "密钥id")
    private String accessKeyId;

    @ApiModelProperty(value = "密钥")
    private String accessKeySecret;

    @ApiModelProperty(value = "其他配置 json格式")
    private String other;

    @ApiModelProperty(value = "是否可用：0不可用")
    private int isActive;

    @ApiModelProperty(value = "是否正常：0不正常")
    private int isEnable;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "级别")
    private int level;

    @ApiModelProperty(value = "通道类型，1：文字，2：语音，3：推送")
    private int channelType;
}
